﻿@using IdentityServer4.Extensions
@{
    string name = null;
    if (!true.Equals(ViewData["signed-out"]))
    {
        name = Context.User?.GetDisplayName();
    }
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>用户管理中心</title>
    <link rel="icon" type="image/x-icon" href="~/ums/favicon.ico" />
    <link rel="shortcut icon" type="image/x-icon" href="~/ums/favicon.ico" />
    <link rel="stylesheet" href="~/ums/lib/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" href="~/ums/css/site.css" />
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header clearfix">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="~/">
                    <span class="navbar-brand">
                        <img src="~/ums/images/icon.png" class="icon-banner">
                        授权服务中心
                    </span>
                </a>
                <div class="pull-right">

                </div>
            </div>

            <ul class="nav navbar-nav">
                <li><a asp-action="List" asp-controller="UserManagement">用户管理</a></li>
                <li><a asp-action="List" asp-controller="Role">角色管理</a></li>
            </ul>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
    </div>
    <script src="~/ums/lib/jquery/jquery.js"></script>
    <script src="~/ums/lib/bootstrap/js/bootstrap.js"></script>
    @RenderSection("scripts", required: false)
</body>
</html>
